GtkDialog: avoid underallocations
authorMatthias Clasen <mclasen@redhat.com>
Fri, 10 Jun 2011 00:40:45 +0000 (20:40 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 10 Jun 2011 00:43:02 +0000 (20:43 -0400)
commit1743e18c8765ee6679f907802c7a9016afd52e31
tree0585b43a11a8d58d4c4daca7cc88b4431ee06cb7
parent3d1407a01a1e772f8b042801bbbde95ae1e16f9a
GtkDialog: avoid underallocations

GtkDialog changes its size depending on style properties. If
we only do this in response to ::style-updated, it happens during
the initial realization of the dialog and leads to the dialog
'growing' between when we determine the initial window size and
when we allocate it that size. So, do this beforehand.
gtk/gtkdialog.c